tools: Fix iptables failure test in vif-common.sh
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 7 Aug 2009 16:31:27 +0000 (17:31 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 7 Aug 2009 16:31:27 +0000 (17:31 +0100)
commit37541c41651ee9b29ffeda3870cb3ba704d7e756
treeccecef23099de021e635241524e239b67f61ec0c
parentbd53bc404fa4921c02b2154f132d812857603bf2
tools: Fix iptables failure test in vif-common.sh

In changset 19540 a bug was introduced in the fib_iptable function in
vif-common.sh that incorrectly checks the exit status of iptables --
it always believes iptables has failed even when it hasn't.

The attached patch fixes that.  It's also bug 1490.

Signed-off-by: John Haxby <john.haxby@oracle.com>
tools/hotplug/Linux/vif-common.sh